import React from 'react';
import Taro from '@tarojs/taro';
import {View, Image} from '@tarojs/components'
import './member.scss'

const Member: React.FC<{ url }> = (props) => {

    return (
      <View className='advertisement-member' onClick={()=> Taro.navigateTo({ url: '/main/my/member/interests' })}>
        <Image src={props.url}
          style='width: 100%;border-radius: 12px;' mode='widthFix'
        />
      </View>
    )
}

export default Member;
